﻿@model PagedList<Orange.Mvc4App.Models.Module>
@{
    ViewBag.Title = "模块管理";
    List<Orange.Mvc4App.Models.Module> tops = (List<Orange.Mvc4App.Models.Module>)ViewBag.category;
    SelectList category = new SelectList(tops, "Id", "Title");
}
<h2>
    模块管理
</h2>
<div class="toolbar">
    @Html.ToolBar(Url, new ToolBarAction[] 
    { 
        ToolBarAction.Create, 
    })
</div>
@using (Html.BeginForm()) {
    @Html.DropDownList("id", category, "--顶级模块--")
    <input type="submit" value="查看" name="submit" id="submit" />
}

<div id="list">
    @Html.Partial("_list", Model)
</div>
